home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 12 / 012.d81 / contents map (.txt) < prev    next >
Commodore BASIC  |  2022-08-26  |  2KB  |  68 lines

  1. 1 remcontents map
  2. 3 open15,8,15
  3. 4 poke650,255
  4. 5 da$=" --------------------------------------"
  5. 6 li=52016:su=51206:sd=51209:cl=51203
  6. 7 forc=1to25:printda$:next
  7. 8 print"[147][154]";:poke53281,0:poke53282,9
  8. 9 poke1020,4:poke1021,24:poke1022,0:poke1023,39
  9. 10 fi$="contents map.t"
  10. 20 dm=500:dimin$(dm)
  11. 30 gosub5000:remopening blurb
  12. 40 gosub6000:remload file
  13. 45 print"[147]";
  14. 50 gosub7000:print"";
  15. 800 print:forc1=0to17:printin$(c1):next:printin$(c1);:lp=0
  16. 810 poke646,1:syscl:print"";
  17. 850 getk$:print"[158]";:ifk$=""then850
  18. 860 ifk$="[145]"ork$=""ork$="[134]"ork$="[138]"thengosub11000:goto850
  19. 865 ifk$="[137]"ork$="[133]"thenforcc=1to18:gosub11000:next:goto850
  20. 870 ifk$=""ork$="[157]"ork$="[139]"ork$="[135]"thengosub10000:goto850
  21. 875 ifk$="[136]"ork$="[140]"thenforcc=1to18:gosub10000:next:goto850
  22. 877 ifk$="p"thengosub2000:print"[147]":goto50
  23. 878 ifk$="x"ork$="[216]"then63000
  24. 880 print"[158]";:gosub7000:print"[146][154]";:gosub7000:goto850
  25. 1000 :
  26. 2000 rem hard(NULL)
  27. 2010 print""da$:printda$:print"[212]urn on your printer and press[160]<return>"
  28. 2011 getk$:ifk$=""then2011
  29. 2012 ifk$<>chr$(13)then2090
  30. 2015 print"  [208]ress any key to stop printing.      "
  31. 2020 print"";
  32. 2030 open4,4,7
  33. 2040 forcp=0tolc:getk$:ifk$<>""then2070
  34. 2050 print#4,spc(20);in$(cp)
  35. 2060 next
  36. 2070 print#4:close4
  37. 2090 return
  38. 5000 print""da$:print" --[204]oading the [204][207][193][196][211][212][193][210] contents map.--"
  39. 5010 print" ----------[208]lease be patient.----------"
  40. 5045 print:print:print"[208]ress 'x' to exit now without reading"
  41. 5050 print:print"this article."
  42. 5060 return
  43. 6000 open8,8,8,fi$
  44. 6030 ll=0:poke781,8:sys65478
  45. 6040 sysli,b$:in$(ll)=mid$(b$,1)
  46. 6044 ifpeek(198)<>0thenifpeek(631)=88then6100
  47. 6045 ifst=0thenll=ll+1:goto6040
  48. 6100 sys65484:close8:close15
  49. 6105 lc=ll
  50. 6110 return
  51. 6150 sys65484:close8:close15
  52. 7000 print" -----[208]ress f1-f7 keys to move text----"
  53. 7005 print" -------[208]ress 'p' to print text.-------"
  54. 7010 print" ----------[208]ress 'x' to exit-----------"
  55. 7015 printda$
  56. 7020 return
  57. 10000 poke646,1:syscl:print"";
  58. 10010 iflp<lc-15thensyssu:lp=lp+1:print""in$(lp+18):return
  59. 10015 poke53280,rnd(1)*15
  60. 10020 return
  61. 11000 poke646,1:syscl:print"";
  62. 11010 if lp>0thensyssd:lp=lp-1:print""in$(lp):return
  63. 11015 poke53280,rnd(1)*15
  64. 11020 return
  65. 63000 poke650,128
  66. 63010 print"[147]load"chr$(34)"hello"chr$(34)",8":print"run"
  67. 63020 poke631,13:poke632,13:poke198,2:end
  68.